<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<jsp:include page="/common/header.jsp"></jsp:include>

<body>
<div id="wrapper">
    <jsp:include page="/left.jsp"/>
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <jsp:include page="/top.jsp"/>
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-10">
                <ol class="breadcrumb">
                    <li>
                        <a href="../../main.jsp">主页</a>
                    </li>
                    <li>
                        <strong>车主认证</strong>
                    </li>
                </ol>
            </div>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <div class="row">
                                <form id="verify_form" method="post">
                                    <div class="col-sm-2">
                                        <input type="text" placeholder="请输入帐号" name="username" class="form-control" >
                                    </div>
                                    <div class="col-sm-2">
                                        <input type="text" placeholder="请输入姓名" name="certName" class="form-control" >
                                    </div>
                                    <div class="col-sm-2">
                                        <input type="button" class="btn btn-primary" id="btn_search" value="查找">
                                    </div>
                                    <input type="hidden" name="pageNum" id="pageNum" value="1">
                                </form>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <table  id="verify_list" class="table table-striped table-bordered table-hover dataTables-example">
                                <thead>
                                <tr>
                                    <th>账号</th>
                                    <th>姓名</th>
                                    <th>身份证正面</th>
                                    <th>身份证反面</th>
                                    <th>手持身份证</th>
                                    <th>驾驶证照片</th>
                                    <th>行驶证照片</th>
                                    <th>上传时间</th>
                                    <th>审核状态</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                </tbody>
                            </table>
                            <!-- 分页开始 -->
                            <div class="row">
                                <div class="span12">
                                    <div class="pull-right pagination">
                                        <ul id="pagination"></ul>
                                    </div>
                                </div>
                            </div>
                            <!-- 分页结束 -->
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <jsp:include page="/footer.jsp"/>
    </div>

    <div class="modal fade in" id="descModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">X</button>
                    <h4 class="modal-title" id="myModalLabel">认证失败原因</h4>
                </div>
                <form action="#" class="form-horizontal" id="add_auth_desc_form">
                    <div class="modal-body">
                        <input type="hidden" name="cuserId">
                        <input type="hidden" name="checkStatue">
                        <div class="form-group">
                            <label class="col-lg-3 control-label">描述：</label>
                            <div class="col-lg-8">
                                <textarea class="form-control" placeholder="请输入认证不通过原因" id="authVerifyMsg" name="authVerifyMsg" rows="6" ></textarea>
                            </div>
                        </div>

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-primary green" id="btn_add_auth_desc">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctx}/js/cuser/verify_list.js"></script>
<script src="${ctx}/static/js/zooming.js"></script>

</body>